package com.example.framwork.exception;

public class UnifoundIcException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private Object[] objects;
    private Integer code;


    public UnifoundIcException(String msg) {
        super(msg);
    }

    public UnifoundIcException(String msg, Object... objects) {
        super(msg);
        this.objects = objects;
    }

    public UnifoundIcException(Integer code, String msg) {
        super(msg);
        this.code = code;
    }

    public UnifoundIcException(String msg, Integer code, Object... objects) {
        super(msg);
        this.code = code;
        this.objects = objects;
    }

    public UnifoundIcException(Throwable throwable) {
        super(throwable);
    }

    public UnifoundIcException(String msg, Throwable throwable) {
        super(msg, throwable);
    }

    public UnifoundIcException(String msg, Integer code) {
        super(msg);
        this.code = code;
    }

    public Object[] getObjects() {
        return objects;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
